//
//  BRQRScanModel.h

//
//  Created by 甘卫国 on 2024/6/21.
//

#import "BRBaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface BRQRScanModel : BRBaseModel

@property (nonatomic,strong) NSString *sno;

@property (nonatomic,strong) NSString *code;
/// code 的类型      type 1-优惠券 2-优惠码 3-充电卡
@property (nonatomic,assign) NSInteger type;

@end

@interface BRScanFunc : NSObject

/// 领取对应的券
+ (void)req_qrOfType:(NSInteger)type code:(NSString *)code succ:(BRDicBlock)succ fail:(BRVoidBlock)fail;
/// 跳转对应的vc
+ (void)push_vc:(NSInteger)vcType by:(UIViewController *)vc;

@end

NS_ASSUME_NONNULL_END
